import request from '@/utils/request'

/**
 *
 * @param {*} q 搜索词
 * @returns
 */
export function suggestApi (q) {
  return request({
    url: 'suggestion',
    method: 'get',
    params: {
      q
    }
  })
}
